getApplicationGrammaticalGender

open fun getApplicationGrammaticalGender(@NonNull context: @NonNull Context): Int(source)

Returns the current grammatical gender. No-op on versions prior to UPSIDE_DOWN_CAKE.

Return

the grammatical gender if device API level is greater than 33, otherwise, return 0.

Parameters

context

Context to retrieve service from.